import { ParamsPage, ResponsePage } from '@/api/common/type';

export type WorkingHoursParams = ParamsPage & { name?: string };

export interface WorkingHoursResponse extends ResponsePage {
    records: WorkingHours[];
}
export interface WorkingHours {
    [key: string]: string | number | boolean | undefined;
    id: number;
    name: string;
    end1: string;
    end2?: string;
    end3?: string;
    end4?: string;
    start1: string;
    start2?: string;
    start3?: string;
    start4?: string;
    unEditable: boolean;
}

export interface Hours {
    id: number;
    name: string;
    hours: string;
}
